package com.xphu.run;

import com.xphu.service.OrderService;

/**
 * @author xphu
 * @version 1.0
 * @date 2021/11/5 12:18
 */
public class App {
    public static void main(String[] args) {
        // 根据不同类型，就可以调用不同类策略
        OrderService orderService = new OrderService();
        orderService.distribute("京东", 111);
        orderService.distribute("圆通", 222);
        orderService.distribute("顺风", 333);
    }
}
